package ilo;

public class Test {
    public static void main(String[] args) {
        Card card1 = new Godcard("陕A86123", "John Doe", "555-1234", 5000);
        Card card2 = new Silvercard("陕A86983", "John ec", "555-1984", 2000);
        card1.consume(500);
        card1.deposit(500);
        card2.consume(500);

    }
}
